package com.xs.project.service;

import com.xs.project.common.Result;
import com.xs.project.pojo.vo.CourseResourceRequest;
import com.xs.project.pojo.vo.StuDeviceVo;
import com.xs.project.pojo.vo.StudentDeviceRequest;
import com.xs.project.pojo.vo.StudentHomeWorkReq;
import com.xs.project.pojo.vo.resp.CourseResourceResp;
import com.xs.project.pojo.vo.resp.StudentCourseDeviceResp;
import com.xs.project.pojo.vo.resp.StudentHomeWork;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 等风来
 * @since 2024-08-13
 */
public interface ICourseResourceService {
    Result<List<CourseResourceResp>> selectResourceList(CourseResourceRequest request);

    Result<List<StudentCourseDeviceResp>> selectStudentDevices(StudentDeviceRequest studentDeviceRequest);

    Result<List<StudentHomeWork>> selectStudentHomeWork(StudentHomeWorkReq request);

    Result<Boolean> handleStudentHomeWork(Integer id, String homeWorkPoint);

    Boolean handleDeviceList(Integer id, String teacherDesc);

    Boolean insertDeviceList(StuDeviceVo request);

    Result<Boolean> insertStudentHomeWork(StudentHomeWorkReq request);

    Boolean insertResourceList(CourseResourceResp request);

    Boolean updateResourceList(CourseResourceResp request);
}
